curl --request POST \
--url https://cloud.volttime.com/api/v3/sites/{site_uuid}/teams/invite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "gbailey@example.net",
"transfer_ownership": true,
"data_access": true,
"data_access_expires_at": "2051-07-28",
"can_access_all_assets": true,
"accessible_assets": null
}'
{
"message": "Invite created successfully",
"invite": {
"id": 1,
"email": "user@example.com",
"token": "abc123",
"expires_at": "2024-01-01T00:00:00Z"
},
"invite_token": "abc123",
"invite_links": {
"web": "https://app.volttime.com/site/invite/accept?site_id=1&email=user@example.com&token=abc123",
"deep_link": "pluggy://invite/abc123"
}
}
See the documentation for more information.
Invite created successfully
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://cloud.volttime.com/api/v3/sites/{site_uuid}/teams/invite \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"email": "gbailey@example.net",
"transfer_ownership": true,
"data_access": true,
"data_access_expires_at": "2051-07-28",
"can_access_all_assets": true,
"accessible_assets": null
}'
{
"message": "Invite created successfully",
"invite": {
"id": 1,
"email": "user@example.com",
"token": "abc123",
"expires_at": "2024-01-01T00:00:00Z"
},
"invite_token": "abc123",
"invite_links": {
"web": "https://app.volttime.com/site/invite/accept?site_id=1&email=user@example.com&token=abc123",
"deep_link": "pluggy://invite/abc123"
}
}